package com.csun.cmny.provider.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ExamineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExamineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOldmanidIsNull() {
            addCriterion("oldmanId is null");
            return (Criteria) this;
        }

        public Criteria andOldmanidIsNotNull() {
            addCriterion("oldmanId is not null");
            return (Criteria) this;
        }

        public Criteria andOldmanidEqualTo(Integer value) {
            addCriterion("oldmanId =", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidNotEqualTo(Integer value) {
            addCriterion("oldmanId <>", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidGreaterThan(Integer value) {
            addCriterion("oldmanId >", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldmanId >=", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidLessThan(Integer value) {
            addCriterion("oldmanId <", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidLessThanOrEqualTo(Integer value) {
            addCriterion("oldmanId <=", value, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidIn(List<Integer> values) {
            addCriterion("oldmanId in", values, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidNotIn(List<Integer> values) {
            addCriterion("oldmanId not in", values, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidBetween(Integer value1, Integer value2) {
            addCriterion("oldmanId between", value1, value2, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andOldmanidNotBetween(Integer value1, Integer value2) {
            addCriterion("oldmanId not between", value1, value2, "oldmanid");
            return (Criteria) this;
        }

        public Criteria andHomeidIsNull() {
            addCriterion("homeId is null");
            return (Criteria) this;
        }

        public Criteria andHomeidIsNotNull() {
            addCriterion("homeId is not null");
            return (Criteria) this;
        }

        public Criteria andHomeidEqualTo(Integer value) {
            addCriterion("homeId =", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotEqualTo(Integer value) {
            addCriterion("homeId <>", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidGreaterThan(Integer value) {
            addCriterion("homeId >", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidGreaterThanOrEqualTo(Integer value) {
            addCriterion("homeId >=", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidLessThan(Integer value) {
            addCriterion("homeId <", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidLessThanOrEqualTo(Integer value) {
            addCriterion("homeId <=", value, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidIn(List<Integer> values) {
            addCriterion("homeId in", values, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotIn(List<Integer> values) {
            addCriterion("homeId not in", values, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidBetween(Integer value1, Integer value2) {
            addCriterion("homeId between", value1, value2, "homeid");
            return (Criteria) this;
        }

        public Criteria andHomeidNotBetween(Integer value1, Integer value2) {
            addCriterion("homeId not between", value1, value2, "homeid");
            return (Criteria) this;
        }

        public Criteria andBpIsNull() {
            addCriterion("BP is null");
            return (Criteria) this;
        }

        public Criteria andBpIsNotNull() {
            addCriterion("BP is not null");
            return (Criteria) this;
        }

        public Criteria andBpEqualTo(String value) {
            addCriterion("BP =", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpNotEqualTo(String value) {
            addCriterion("BP <>", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpGreaterThan(String value) {
            addCriterion("BP >", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpGreaterThanOrEqualTo(String value) {
            addCriterion("BP >=", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpLessThan(String value) {
            addCriterion("BP <", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpLessThanOrEqualTo(String value) {
            addCriterion("BP <=", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpLike(String value) {
            addCriterion("BP like", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpNotLike(String value) {
            addCriterion("BP not like", value, "bp");
            return (Criteria) this;
        }

        public Criteria andBpIn(List<String> values) {
            addCriterion("BP in", values, "bp");
            return (Criteria) this;
        }

        public Criteria andBpNotIn(List<String> values) {
            addCriterion("BP not in", values, "bp");
            return (Criteria) this;
        }

        public Criteria andBpBetween(String value1, String value2) {
            addCriterion("BP between", value1, value2, "bp");
            return (Criteria) this;
        }

        public Criteria andBpNotBetween(String value1, String value2) {
            addCriterion("BP not between", value1, value2, "bp");
            return (Criteria) this;
        }

        public Criteria andExaminetimeIsNull() {
            addCriterion("examineTime is null");
            return (Criteria) this;
        }

        public Criteria andExaminetimeIsNotNull() {
            addCriterion("examineTime is not null");
            return (Criteria) this;
        }

        public Criteria andExaminetimeEqualTo(String value) {
            addCriterion("examineTime =", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeNotEqualTo(String value) {
            addCriterion("examineTime <>", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeGreaterThan(String value) {
            addCriterion("examineTime >", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeGreaterThanOrEqualTo(String value) {
            addCriterion("examineTime >=", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeLessThan(String value) {
            addCriterion("examineTime <", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeLessThanOrEqualTo(String value) {
            addCriterion("examineTime <=", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeLike(String value) {
            addCriterion("examineTime like", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeNotLike(String value) {
            addCriterion("examineTime not like", value, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeIn(List<String> values) {
            addCriterion("examineTime in", values, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeNotIn(List<String> values) {
            addCriterion("examineTime not in", values, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeBetween(String value1, String value2) {
            addCriterion("examineTime between", value1, value2, "examinetime");
            return (Criteria) this;
        }

        public Criteria andExaminetimeNotBetween(String value1, String value2) {
            addCriterion("examineTime not between", value1, value2, "examinetime");
            return (Criteria) this;
        }

        public Criteria andRegisterdateIsNull() {
            addCriterion("registerDate is null");
            return (Criteria) this;
        }

        public Criteria andRegisterdateIsNotNull() {
            addCriterion("registerDate is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterdateEqualTo(String value) {
            addCriterion("registerDate =", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateNotEqualTo(String value) {
            addCriterion("registerDate <>", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateGreaterThan(String value) {
            addCriterion("registerDate >", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateGreaterThanOrEqualTo(String value) {
            addCriterion("registerDate >=", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateLessThan(String value) {
            addCriterion("registerDate <", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateLessThanOrEqualTo(String value) {
            addCriterion("registerDate <=", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateLike(String value) {
            addCriterion("registerDate like", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateNotLike(String value) {
            addCriterion("registerDate not like", value, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateIn(List<String> values) {
            addCriterion("registerDate in", values, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateNotIn(List<String> values) {
            addCriterion("registerDate not in", values, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateBetween(String value1, String value2) {
            addCriterion("registerDate between", value1, value2, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterdateNotBetween(String value1, String value2) {
            addCriterion("registerDate not between", value1, value2, "registerdate");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleIsNull() {
            addCriterion("registerPeople is null");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleIsNotNull() {
            addCriterion("registerPeople is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleEqualTo(String value) {
            addCriterion("registerPeople =", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleNotEqualTo(String value) {
            addCriterion("registerPeople <>", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleGreaterThan(String value) {
            addCriterion("registerPeople >", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleGreaterThanOrEqualTo(String value) {
            addCriterion("registerPeople >=", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleLessThan(String value) {
            addCriterion("registerPeople <", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleLessThanOrEqualTo(String value) {
            addCriterion("registerPeople <=", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleLike(String value) {
            addCriterion("registerPeople like", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleNotLike(String value) {
            addCriterion("registerPeople not like", value, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleIn(List<String> values) {
            addCriterion("registerPeople in", values, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleNotIn(List<String> values) {
            addCriterion("registerPeople not in", values, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleBetween(String value1, String value2) {
            addCriterion("registerPeople between", value1, value2, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andRegisterpeopleNotBetween(String value1, String value2) {
            addCriterion("registerPeople not between", value1, value2, "registerpeople");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalIsNull() {
            addCriterion("examineHospital is null");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalIsNotNull() {
            addCriterion("examineHospital is not null");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalEqualTo(String value) {
            addCriterion("examineHospital =", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalNotEqualTo(String value) {
            addCriterion("examineHospital <>", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalGreaterThan(String value) {
            addCriterion("examineHospital >", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalGreaterThanOrEqualTo(String value) {
            addCriterion("examineHospital >=", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalLessThan(String value) {
            addCriterion("examineHospital <", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalLessThanOrEqualTo(String value) {
            addCriterion("examineHospital <=", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalLike(String value) {
            addCriterion("examineHospital like", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalNotLike(String value) {
            addCriterion("examineHospital not like", value, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalIn(List<String> values) {
            addCriterion("examineHospital in", values, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalNotIn(List<String> values) {
            addCriterion("examineHospital not in", values, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalBetween(String value1, String value2) {
            addCriterion("examineHospital between", value1, value2, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExaminehospitalNotBetween(String value1, String value2) {
            addCriterion("examineHospital not between", value1, value2, "examinehospital");
            return (Criteria) this;
        }

        public Criteria andExamineresultIsNull() {
            addCriterion("examineResult is null");
            return (Criteria) this;
        }

        public Criteria andExamineresultIsNotNull() {
            addCriterion("examineResult is not null");
            return (Criteria) this;
        }

        public Criteria andExamineresultEqualTo(String value) {
            addCriterion("examineResult =", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultNotEqualTo(String value) {
            addCriterion("examineResult <>", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultGreaterThan(String value) {
            addCriterion("examineResult >", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultGreaterThanOrEqualTo(String value) {
            addCriterion("examineResult >=", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultLessThan(String value) {
            addCriterion("examineResult <", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultLessThanOrEqualTo(String value) {
            addCriterion("examineResult <=", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultLike(String value) {
            addCriterion("examineResult like", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultNotLike(String value) {
            addCriterion("examineResult not like", value, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultIn(List<String> values) {
            addCriterion("examineResult in", values, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultNotIn(List<String> values) {
            addCriterion("examineResult not in", values, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultBetween(String value1, String value2) {
            addCriterion("examineResult between", value1, value2, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExamineresultNotBetween(String value1, String value2) {
            addCriterion("examineResult not between", value1, value2, "examineresult");
            return (Criteria) this;
        }

        public Criteria andExaminephotoIsNull() {
            addCriterion("examinePhoto is null");
            return (Criteria) this;
        }

        public Criteria andExaminephotoIsNotNull() {
            addCriterion("examinePhoto is not null");
            return (Criteria) this;
        }

        public Criteria andExaminephotoEqualTo(String value) {
            addCriterion("examinePhoto =", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoNotEqualTo(String value) {
            addCriterion("examinePhoto <>", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoGreaterThan(String value) {
            addCriterion("examinePhoto >", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoGreaterThanOrEqualTo(String value) {
            addCriterion("examinePhoto >=", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoLessThan(String value) {
            addCriterion("examinePhoto <", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoLessThanOrEqualTo(String value) {
            addCriterion("examinePhoto <=", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoLike(String value) {
            addCriterion("examinePhoto like", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoNotLike(String value) {
            addCriterion("examinePhoto not like", value, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoIn(List<String> values) {
            addCriterion("examinePhoto in", values, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoNotIn(List<String> values) {
            addCriterion("examinePhoto not in", values, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoBetween(String value1, String value2) {
            addCriterion("examinePhoto between", value1, value2, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExaminephotoNotBetween(String value1, String value2) {
            addCriterion("examinePhoto not between", value1, value2, "examinephoto");
            return (Criteria) this;
        }

        public Criteria andExamineinfoIsNull() {
            addCriterion("examineInfo is null");
            return (Criteria) this;
        }

        public Criteria andExamineinfoIsNotNull() {
            addCriterion("examineInfo is not null");
            return (Criteria) this;
        }

        public Criteria andExamineinfoEqualTo(String value) {
            addCriterion("examineInfo =", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoNotEqualTo(String value) {
            addCriterion("examineInfo <>", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoGreaterThan(String value) {
            addCriterion("examineInfo >", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoGreaterThanOrEqualTo(String value) {
            addCriterion("examineInfo >=", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoLessThan(String value) {
            addCriterion("examineInfo <", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoLessThanOrEqualTo(String value) {
            addCriterion("examineInfo <=", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoLike(String value) {
            addCriterion("examineInfo like", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoNotLike(String value) {
            addCriterion("examineInfo not like", value, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoIn(List<String> values) {
            addCriterion("examineInfo in", values, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoNotIn(List<String> values) {
            addCriterion("examineInfo not in", values, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoBetween(String value1, String value2) {
            addCriterion("examineInfo between", value1, value2, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andExamineinfoNotBetween(String value1, String value2) {
            addCriterion("examineInfo not between", value1, value2, "examineinfo");
            return (Criteria) this;
        }

        public Criteria andDhistoryIsNull() {
            addCriterion("dHistory is null");
            return (Criteria) this;
        }

        public Criteria andDhistoryIsNotNull() {
            addCriterion("dHistory is not null");
            return (Criteria) this;
        }

        public Criteria andDhistoryEqualTo(String value) {
            addCriterion("dHistory =", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryNotEqualTo(String value) {
            addCriterion("dHistory <>", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryGreaterThan(String value) {
            addCriterion("dHistory >", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryGreaterThanOrEqualTo(String value) {
            addCriterion("dHistory >=", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryLessThan(String value) {
            addCriterion("dHistory <", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryLessThanOrEqualTo(String value) {
            addCriterion("dHistory <=", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryLike(String value) {
            addCriterion("dHistory like", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryNotLike(String value) {
            addCriterion("dHistory not like", value, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryIn(List<String> values) {
            addCriterion("dHistory in", values, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryNotIn(List<String> values) {
            addCriterion("dHistory not in", values, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryBetween(String value1, String value2) {
            addCriterion("dHistory between", value1, value2, "dhistory");
            return (Criteria) this;
        }

        public Criteria andDhistoryNotBetween(String value1, String value2) {
            addCriterion("dHistory not between", value1, value2, "dhistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryIsNull() {
            addCriterion("psHistory is null");
            return (Criteria) this;
        }

        public Criteria andPshistoryIsNotNull() {
            addCriterion("psHistory is not null");
            return (Criteria) this;
        }

        public Criteria andPshistoryEqualTo(String value) {
            addCriterion("psHistory =", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryNotEqualTo(String value) {
            addCriterion("psHistory <>", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryGreaterThan(String value) {
            addCriterion("psHistory >", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryGreaterThanOrEqualTo(String value) {
            addCriterion("psHistory >=", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryLessThan(String value) {
            addCriterion("psHistory <", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryLessThanOrEqualTo(String value) {
            addCriterion("psHistory <=", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryLike(String value) {
            addCriterion("psHistory like", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryNotLike(String value) {
            addCriterion("psHistory not like", value, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryIn(List<String> values) {
            addCriterion("psHistory in", values, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryNotIn(List<String> values) {
            addCriterion("psHistory not in", values, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryBetween(String value1, String value2) {
            addCriterion("psHistory between", value1, value2, "pshistory");
            return (Criteria) this;
        }

        public Criteria andPshistoryNotBetween(String value1, String value2) {
            addCriterion("psHistory not between", value1, value2, "pshistory");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(String value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(String value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(String value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(String value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(String value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(String value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLike(String value) {
            addCriterion("weight like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotLike(String value) {
            addCriterion("weight not like", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<String> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<String> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(String value1, String value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(String value1, String value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andHeightIsNull() {
            addCriterion("height is null");
            return (Criteria) this;
        }

        public Criteria andHeightIsNotNull() {
            addCriterion("height is not null");
            return (Criteria) this;
        }

        public Criteria andHeightEqualTo(String value) {
            addCriterion("height =", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotEqualTo(String value) {
            addCriterion("height <>", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThan(String value) {
            addCriterion("height >", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightGreaterThanOrEqualTo(String value) {
            addCriterion("height >=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThan(String value) {
            addCriterion("height <", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLessThanOrEqualTo(String value) {
            addCriterion("height <=", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightLike(String value) {
            addCriterion("height like", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotLike(String value) {
            addCriterion("height not like", value, "height");
            return (Criteria) this;
        }

        public Criteria andHeightIn(List<String> values) {
            addCriterion("height in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotIn(List<String> values) {
            addCriterion("height not in", values, "height");
            return (Criteria) this;
        }

        public Criteria andHeightBetween(String value1, String value2) {
            addCriterion("height between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andHeightNotBetween(String value1, String value2) {
            addCriterion("height not between", value1, value2, "height");
            return (Criteria) this;
        }

        public Criteria andIsdisabledIsNull() {
            addCriterion("isdisabled is null");
            return (Criteria) this;
        }

        public Criteria andIsdisabledIsNotNull() {
            addCriterion("isdisabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsdisabledEqualTo(Integer value) {
            addCriterion("isdisabled =", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledNotEqualTo(Integer value) {
            addCriterion("isdisabled <>", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledGreaterThan(Integer value) {
            addCriterion("isdisabled >", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledGreaterThanOrEqualTo(Integer value) {
            addCriterion("isdisabled >=", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledLessThan(Integer value) {
            addCriterion("isdisabled <", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledLessThanOrEqualTo(Integer value) {
            addCriterion("isdisabled <=", value, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledIn(List<Integer> values) {
            addCriterion("isdisabled in", values, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledNotIn(List<Integer> values) {
            addCriterion("isdisabled not in", values, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledBetween(Integer value1, Integer value2) {
            addCriterion("isdisabled between", value1, value2, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andIsdisabledNotBetween(Integer value1, Integer value2) {
            addCriterion("isdisabled not between", value1, value2, "isdisabled");
            return (Criteria) this;
        }

        public Criteria andDisablednoIsNull() {
            addCriterion("disabledno is null");
            return (Criteria) this;
        }

        public Criteria andDisablednoIsNotNull() {
            addCriterion("disabledno is not null");
            return (Criteria) this;
        }

        public Criteria andDisablednoEqualTo(String value) {
            addCriterion("disabledno =", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoNotEqualTo(String value) {
            addCriterion("disabledno <>", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoGreaterThan(String value) {
            addCriterion("disabledno >", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoGreaterThanOrEqualTo(String value) {
            addCriterion("disabledno >=", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoLessThan(String value) {
            addCriterion("disabledno <", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoLessThanOrEqualTo(String value) {
            addCriterion("disabledno <=", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoLike(String value) {
            addCriterion("disabledno like", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoNotLike(String value) {
            addCriterion("disabledno not like", value, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoIn(List<String> values) {
            addCriterion("disabledno in", values, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoNotIn(List<String> values) {
            addCriterion("disabledno not in", values, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoBetween(String value1, String value2) {
            addCriterion("disabledno between", value1, value2, "disabledno");
            return (Criteria) this;
        }

        public Criteria andDisablednoNotBetween(String value1, String value2) {
            addCriterion("disabledno not between", value1, value2, "disabledno");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelIsNull() {
            addCriterion("sdisabledlevel is null");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelIsNotNull() {
            addCriterion("sdisabledlevel is not null");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelEqualTo(Integer value) {
            addCriterion("sdisabledlevel =", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelNotEqualTo(Integer value) {
            addCriterion("sdisabledlevel <>", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelGreaterThan(Integer value) {
            addCriterion("sdisabledlevel >", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("sdisabledlevel >=", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelLessThan(Integer value) {
            addCriterion("sdisabledlevel <", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelLessThanOrEqualTo(Integer value) {
            addCriterion("sdisabledlevel <=", value, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelIn(List<Integer> values) {
            addCriterion("sdisabledlevel in", values, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelNotIn(List<Integer> values) {
            addCriterion("sdisabledlevel not in", values, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelBetween(Integer value1, Integer value2) {
            addCriterion("sdisabledlevel between", value1, value2, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andSdisabledlevelNotBetween(Integer value1, Integer value2) {
            addCriterion("sdisabledlevel not between", value1, value2, "sdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelIsNull() {
            addCriterion("bdisabledlevel is null");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelIsNotNull() {
            addCriterion("bdisabledlevel is not null");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelEqualTo(Integer value) {
            addCriterion("bdisabledlevel =", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelNotEqualTo(Integer value) {
            addCriterion("bdisabledlevel <>", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelGreaterThan(Integer value) {
            addCriterion("bdisabledlevel >", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("bdisabledlevel >=", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelLessThan(Integer value) {
            addCriterion("bdisabledlevel <", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelLessThanOrEqualTo(Integer value) {
            addCriterion("bdisabledlevel <=", value, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelIn(List<Integer> values) {
            addCriterion("bdisabledlevel in", values, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelNotIn(List<Integer> values) {
            addCriterion("bdisabledlevel not in", values, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelBetween(Integer value1, Integer value2) {
            addCriterion("bdisabledlevel between", value1, value2, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andBdisabledlevelNotBetween(Integer value1, Integer value2) {
            addCriterion("bdisabledlevel not between", value1, value2, "bdisabledlevel");
            return (Criteria) this;
        }

        public Criteria andValidIsNull() {
            addCriterion("valid is null");
            return (Criteria) this;
        }

        public Criteria andValidIsNotNull() {
            addCriterion("valid is not null");
            return (Criteria) this;
        }

        public Criteria andValidEqualTo(Integer value) {
            addCriterion("valid =", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotEqualTo(Integer value) {
            addCriterion("valid <>", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThan(Integer value) {
            addCriterion("valid >", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidGreaterThanOrEqualTo(Integer value) {
            addCriterion("valid >=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThan(Integer value) {
            addCriterion("valid <", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidLessThanOrEqualTo(Integer value) {
            addCriterion("valid <=", value, "valid");
            return (Criteria) this;
        }

        public Criteria andValidIn(List<Integer> values) {
            addCriterion("valid in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotIn(List<Integer> values) {
            addCriterion("valid not in", values, "valid");
            return (Criteria) this;
        }

        public Criteria andValidBetween(Integer value1, Integer value2) {
            addCriterion("valid between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andValidNotBetween(Integer value1, Integer value2) {
            addCriterion("valid not between", value1, value2, "valid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andModifytimeIsNull() {
            addCriterion("modifyTime is null");
            return (Criteria) this;
        }

        public Criteria andModifytimeIsNotNull() {
            addCriterion("modifyTime is not null");
            return (Criteria) this;
        }

        public Criteria andModifytimeEqualTo(Date value) {
            addCriterion("modifyTime =", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotEqualTo(Date value) {
            addCriterion("modifyTime <>", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeGreaterThan(Date value) {
            addCriterion("modifyTime >", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modifyTime >=", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeLessThan(Date value) {
            addCriterion("modifyTime <", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeLessThanOrEqualTo(Date value) {
            addCriterion("modifyTime <=", value, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeIn(List<Date> values) {
            addCriterion("modifyTime in", values, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotIn(List<Date> values) {
            addCriterion("modifyTime not in", values, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeBetween(Date value1, Date value2) {
            addCriterion("modifyTime between", value1, value2, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifytimeNotBetween(Date value1, Date value2) {
            addCriterion("modifyTime not between", value1, value2, "modifytime");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(Long value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(Long value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(Long value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(Long value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(Long value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(Long value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<Long> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<Long> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(Long value1, Long value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(Long value1, Long value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}